

import 'package:huajianshe_app/base/NetworkManager.dart';

class Api {
  static NetworkParams login() { // 注册登录一个接口
    return NetworkParams('User/login', 'post', isForm: true);
  }

  static NetworkParams momentList() { // 动态/商机 列表
    return NetworkParams('Blog/getBlogList', 'post', isForm: true);
  }
  
  static NetworkParams doLike() { //收藏
    return NetworkParams('Like_Record/doLike', 'post', isForm: true);
  }
  
  static NetworkParams commentList() { // 动态/课程 列表
    return NetworkParams('Comment/getCommentList', 'post', isForm: true);
  }
  
  static NetworkParams doComment() { // 对动态/课程 进行评论
    return NetworkParams('Comment/doComment', 'post', isForm: true);
  }

  static NetworkParams getUserInfo() { // 个人主页
    return NetworkParams('User/getMemberPage', 'post', isForm: true);
  }

  static NetworkParams mine() { // 我的
    return NetworkParams('User/getUserInfo', 'post', isForm: true);
  }

  static NetworkParams editUserInfo() { // 我的
    return NetworkParams('User/editUserInfo', 'post', isForm: true);
  }

  static NetworkParams leaveMessage() { // 留言
    return NetworkParams('Circle/circleMasterLeaveMessage', 'post', isForm: true);
  }

  static NetworkParams publish() { //发布动态/商机
    return NetworkParams('Blog/addBlog', 'post', isForm: true);
  }

  static NetworkParams circleList() { //圈子列表
    return NetworkParams('Circle/getCircleList', 'post', isForm: true);
  }

  static NetworkParams searchHotAndHistory() { //热门搜索
    return NetworkParams('Search_Record/getSearchBoth', 'post', isForm: true);
  }

  static NetworkParams circleHome() { //圈子首页
    return NetworkParams('Circle/getCirclePage', 'post', isForm: true);
  }

  static NetworkParams circleChange() { //圈子首页-换一换
    return NetworkParams('Circle/getCirclePageChange', 'post', isForm: true);
  }

  static NetworkParams circleDetail() { //某个圈子的主页
    return NetworkParams('Circle/getCircleDetail', 'post', isForm: true);
  }

  static NetworkParams circleMembers() { //某个圈子的成员列表
    return NetworkParams('Circle/getCircleMemberList', 'post', isForm: true);
  }

  static NetworkParams circleCreate() { //创建圈子
    return NetworkParams('Circle/createCircle', 'post', isForm: true);
  }

  static NetworkParams circleEdit() { //编辑圈子
    return NetworkParams('Circle/editCircle', 'post', isForm: true);
  }
  static NetworkParams circleScore() { //给圈子打分
    return NetworkParams('Circle/scoreTheCircle', 'post', isForm: true);
  }

  static NetworkParams circleJoin() { //加入免费圈子
    return NetworkParams('Circle/joinCircle', 'post', isForm: true);
  }

  static NetworkParams joinedAndCreatedCircles() { // 获取我加入和创建的圈子
    return NetworkParams('Circle/getMyJoinAndCreateCircle', 'post', isForm: true);
  }

  static NetworkParams uploadPic() { // 上传图片
    return NetworkParams('Resource/uploadPic', 'post', isForm: true);
  }

  static NetworkParams uploadVideo() { // 上传视频
    return NetworkParams('Resource/uploadVideo', 'post', isForm: true);
  }


  static NetworkParams lessonHome() { // 课程首页
    return NetworkParams('Lesson/getLessonPage', 'post', isForm: true);
  }

  static NetworkParams lessonList() { // 课程列表
    return NetworkParams('Lesson/getLessonList', 'post', isForm: true);
  }

  static NetworkParams lessonDetail() { // 课程详情
    return NetworkParams('Lesson/getLessonDetail', 'post', isForm: true);
  }

  static NetworkParams lessonFavority() { // 我收藏的课程
    return NetworkParams('Like_Record/getMyCollectLessonList', 'post', isForm: true);
  }

  static NetworkParams lessonBuyed() { // 我买过的课程
    return NetworkParams('Lesson_Order/getLessonOrderList', 'post', isForm: true);
  }

  static NetworkParams contactHome() { // 人脉首页
    return NetworkParams('Relation/getMyCircleListByInitials', 'post', isForm: true);
  }


  static NetworkParams circleFriends() { // 获取一个圈子的除了我意外的所有成员带首字母
    return NetworkParams('Relation/getCircleFriendList', 'post', isForm: true);
  }

  static NetworkParams circleEditInfo() { // 获取圈子详情（编辑用）
    return NetworkParams('Circle/getCircleDetailForEdit', 'post', isForm: true);
  }


  static NetworkParams circleMoreList() { // 圈子首页里的更多
    return NetworkParams('Circle/getCirclePageMoreList', 'post', isForm: true);
  }

  static NetworkParams exportFriends() { // 导出成员到邮箱
    return NetworkParams('Circle/sendCircleMemberToEmail', 'post', isForm: true);
  }

  static NetworkParams importFriend() { // 导入一个成员
    return NetworkParams('Circle/addCircleMember', 'post', isForm: true);
  }




  static NetworkParams getHxId() { // 获取环信id
    return NetworkParams('User/bindHuanxinDouble', 'post', isForm: true);
  }

  static NetworkParams getHxGroupId() { // 获取环信群聊id
    return NetworkParams('Circle/createCircleHxGroupWithMember', 'post', isForm: true);
  }
}